﻿using SMARTMobile.WinPhone.Models;

namespace SMARTMobile.Models.UI
{
    public class AROutletStatusModel : BaseModel<AROutletStatusModel>
    {
        private string _statusType;
        private string _description;

        public AROutletStatusModel()
        {

        }

        public AROutletStatusModel(SqlAROutletStatus status)
        {
            this.StatusType = status.StatusType;
            this.Description = status.Description;
        }

        public string StatusType
        {
            get { return this._statusType; }
            set
            {
                this._statusType = value;
                base.RaisePropertyChanged(me => me.StatusType);
            }
        }

        public string Description
        {
            get { return this._description; }
            set
            {
                this._description = value;
                base.RaisePropertyChanged(me => me.Description);
            }
        }

        public override string ToString()
        {
            return this.Description;
        }
    }
}
